package com.lemonsama.lesson4;

import javax.swing.*;
import java.awt.*;

public class MyDialog extends JDialog {
    public MyDialog() {
        this.setVisible(true);
        this.setBounds(100, 100, 500, 500);

        Container contentPane = this.getContentPane();
        contentPane.add(new Label("this is a Label"));
    }
}
